﻿@model laboration2.Models.Contact

@{
    ViewBag.Title = "Detaljer";
}

@section heading {
<p>Här följer detaljer om @Html.DisplayFor(model => model.FirstName) @Html.DisplayFor(model => model.LastName). Slit dem med hälsan</p>
}
<fieldset>
    
    <div class="display-label">FirstName</div>
    <div class="display-field">
        @Html.DisplayFor(model => model.FirstName)
    </div>

    <div class="display-label">LastName</div>
    <div class="display-field">
        @Html.DisplayFor(model => model.LastName)
    </div>

    <div class="display-label">EmailAddress</div>
    <div class="display-field">
        @Html.DisplayFor(model => model.EmailAddress)
    </div>
</fieldset>
<p>
    @Html.ActionLink("Ändra", "Edit", new { id = Model.ContactID }, new { @class = "btn primary"})
    @Html.ActionLink("Ta bort", "Delete", new { id = Model.ContactID }, new { @class = "btn danger"})
    @Html.ActionLink("Ångra", "Index", null, new { @class = "btn info" })
</p>
